package com.mes.service.cb;

import com.mes.entity.cb.Materiel;
import com.mes.entity.cb.Pages;
import com.mes.entity.cb.WarehRerdMx;
import com.mes.entity.cb.WarehouRed;

import java.util.List;

/**
 * @ClassName: WarehouRedService
 * @Description: 入库记录
 * @Author cb
 * @Date 2018年4月10日15:58:16
 * @version 1.0
 */
public interface WarehouRedService {
    List<WarehouRed> ware_list(Pages pages);

    int getTotal(Pages pages);

    List<WarehRerdMx> wareMX_list(Pages pages);

    int getTotalMx(Pages pages);

    Materiel storck_ByCode(String code);

    /**
     * 添加记录
     * @param warehouRed
     * @return
     */
    long ware_insert(WarehouRed warehouRed);

    Integer wareMX_insert(List<WarehRerdMx> warehRerdMxes);

	void updateBymaRuKu(Long prid);


}
